FILE(GLOB SRC *.cpp *.h)

ADD_EXECUTABLE(pd_parser ${SRC})

INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(pd_parser ${LIBXML2_LIBRARIES} nelmisc)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

NL_DEFAULT_PROPS(pd_parser "Ryzom, Tools: PD Parser")
NL_ADD_RUNTIME_FLAGS(pd_parser)

INSTALL(TARGETS pd_parser RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
